package com.peppa.petshop.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author SongTiantian
 * @create 2021-06-16-16:17
 */
@RestController
public class HomeController {

    @RequestMapping(value="index")
    @ResponseBody
    public String home(){
        return "hello world";
    }

}